package com.cyy.activitylifecycleyanalysisdemo.adapter;

import android.support.annotation.Nullable;

import java.util.List;

/**
 * /**
 * <pre>
 *     author : YYCHEN
 *     e-mail : xxx@xx
 *     time   : 2018/03/17
 *     desc   :
 *     version: 1.0
 * </pre>
 */

public class IndexActivityAdapter extends RecyclerViewSimpleAdapter<Class2Desc>{

    public IndexActivityAdapter(@Nullable List<Class2Desc> dataList, OnItemClickListener<Class2Desc> listener) {
        super(dataList, listener);
    }

    @Override
    public void bindData(ViewHolder holder, Class2Desc data) {
        holder.tv_name.setText(data.getDesc());
    }
}
